

<template>
  <el-menu default-active="1" class="el-menu-vertical-demo" :default-openeds="['1']">
    <el-submenu index="1">
      <template slot="title">
        <i class="el-icon-location"></i>
        <span>个人中心</span>
      </template>
      <el-menu-item-group>
        <router-link to="/member/info">
          <el-menu-item index="1-1">我的资料</el-menu-item>
        </router-link>
      </el-menu-item-group>
      <el-menu-item-group>
        <router-link to="/member/myOrder">
          <el-menu-item index="1-2">我的订单</el-menu-item>
        </router-link>
      </el-menu-item-group>
      <el-menu-item-group>
        <router-link to="/Comment/myComment">
          <el-menu-item index="1-3">我的评论</el-menu-item>
        </router-link>
      </el-menu-item-group>
      <el-menu-item-group>
        <router-link to="/my-barrages">
          <el-menu-item index="1-4">我的弹幕</el-menu-item>
        </router-link>
      </el-menu-item-group>
    </el-submenu>
  </el-menu>
</template>

<script>
export default {
  name: 'SideMenu'
}
</script>

